import { SHA256 } from 'crypto-js';

function encryptSha256(text: string): string {
  const hash = SHA256(text);
  return hash.toString();
}

export { encryptSha256 };